<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
</style>
<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	body{
		font-size: 12px;
		background-color: #F8F8F8;
	}
	.page-wraper {
		display: flex;
		flex-direction: column;
		/* #ifdef H5 */
		height: calc(100vh - 44px);
		/* #endif */
	
		/* #ifdef MP-WEIXIN */
		height: 100vh;
		/* #endif */
		background-color: #f0f0f0;
	}
	
	.page-header {
		flex: 0 0 auto;
		height: auto;
	}
	
	.page-body {
		flex: 1;
		overflow: auto;
		width: 100%;
	}
	
	.page-footer {
		flex: 0 0 auto;
		padding: 5px;
	}
	.flex{
		display: flex;
	}
	.flex1{
		flex:1
	}
	.p5{
		padding: 5px;
	}
	.p10{
		padding: 10px;
	}
	.p15{
		padding: 15px;
	}
	.pt5{
		padding-top: 5px;
	}
	.pt10{
		padding-top: 10px;
	}
	.pb5{
		padding-bottom: 5px;
	}
	.pb10{
		padding-bottom: 10px;
	}
	
	.m5{
		margin: 5px;
	}
	.m10{
		margin: 10px;
	}
</style>
